<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Aspire
  Date: 2017/11/28
  Time: 11:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>


<HTML>
<head>
    <c:set value="${pageContext.request.contextPath}" var="root"/>
    <meta http-equiv="Content-Language" content="zh-cn">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="${pageContext.request.contextPath}/css/Style1.css" rel="stylesheet" type="text/css" />
    <link href="${pageContext.request.contextPath}/css/common.css" rel="stylesheet" type="text/css"/>
    <script language="javascript" src="${pageContext.request.contextPath}/js/public.js"></script>
    <script type="text/javascript">
        //传递当前页和cid
        function gotopage(page){
            window.location.href="${pageContext.request.contextPath}/adminOrder_findPageBean?page="+page+"";
        }
    </script>
    <style type="text/css">
        td a:link{
            color: red;
        }
    </style>
</head>
<body>
<br>
<form id="Form1" name="Form1"  method="post">
    <table cellSpacing="1" cellPadding="0" width="100%" align="center" bgColor="#f5fafe" border="0">
        <TBODY>
        <tr>
            <td class="ta_01" colspan="2" align="center" bgColor="#afd1f3">
                <strong>订单列 表</strong>
            </td>
        </tr>

        <tr>
            <td class="ta_01" align="center" bgColor="#f5fafe">
                <table cellspacing="0" cellpadding="1" rules="all"
                       bordercolor="gray" border="1" id="DataGrid1"
                       style="BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BORDER-LEFT: gray 1px solid; WIDTH: 100%; WORD-BREAK: break-all; BORDER-BOTTOM: gray 1px solid; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: #f5fafe; WORD-WRAP: break-word">
                    <tr style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; HEIGHT: 25px; BACKGROUND-COLOR: #afd1f3">

                        <td align="center" width="25">
                            订单序号
                        </td>
                        <td align="center" width="10">
                            总计
                        </td>
                        <td align="center" width="20">
                            订单时间
                        </td>
                        <td width="10" align="center">
                            订单状态
                        </td>
                        <td width="10" align="center">
                            收货人
                        </td>
                        <td width="10" align="center">
                            联系电话
                        </td>
                        <td width="20" align="center">
                            收货地址
                        </td>

                    </tr>

                    <c:forEach items="orderList" var="o">
                        <tr onmouseover="this.style.backgroundColor = 'white'"
                        onmouseout="this.style.backgroundColor = '#F5FAFE';">
                        <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                            width="25">
                            ${o.oid}
                        </td>
                        <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                            width="10">
                            ${o.total}
                        </td>
                        <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                            width="20">
                            ${o.ordertime}
                        </td>
                        <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                            width="10">
                            <c:if test="${o.status} == 1">未支付</c:if>
                            <c:if test="${o.status} == 2">已支付</c:if>
                            <c:if test="${o.status} == 3">已发货</c:if>
                            <c:if test="${o.status} == 4">已完成</c:if>
                        </td>
                        <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                            width="10">

                        </td>
                        <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                            width="10">

                        </td>
                        <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                            width="20">

                        </td>

                    </tr>
                    </c:forEach>

                </table>
            </td>
        </tr>
        </TBODY>
    </table>

    <div class="pagination">
        <span style="color:#666;">第1页/共1页</span>



        <span class="currentPage">1</span>




    </div>
</form>

</body>
</HTML>


